package com.forewolf.spring.beanlife;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.firewolf.spring.beanlife.Car;

public class MainDriver {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring.xml");
		Car car = (Car) ctx.getBean("car");
		System.out.println(car);
		ctx.close();
		
	}
}